lcColorGetIndex Home

Returns color index.

 int lcColorGetIndex (
   LPCWSTR szColor
 );

Parameters
szColor
  Color value as string.

Return Value

  Index of color palette, value 0 - 256, where
0 - "ByBlock" color
7 - "Foreground" color
256 - "ByLayer" color.
Always 0 for RGB color.

See Also

  ColorslcColorToVal